/**
 *******************************************************************************
 * @FileName  : attc_disc.h
 * @Author    : GaoQiu
 * @CreateDate: 2024年6月16日
 * @Copyright : Copyright(C) GaoQiu
 *              All Rights Reserved.
 *******************************************************************************
 *
 * The information contained herein is confidential and proprietary property of
 * GaoQiu and is available under the terms of Commercial License Agreement
 * between GaoQiu and the licensee in separate contract or the terms described
 * here-in.
 *
 * This heading MUST NOT be removed from this file.
 *
 * Licensees are granted free, non-transferable use of the information in this
 * file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided.
 *
 *******************************************************************************
 */
#ifndef _ATTC_DISC_H_
#define _ATTC_DISC_H_

#include "utils/defs_types.h"

#include "att_main.h"

void attcSdpFree(AttCCB_t *pAttCcb);
void attcSdpTimeoutHandle(AttCCB_t *pAttCcb);

void attcSvcDiscRestart(AttCCB_t *pAttCcb);
void attcChrDiscRestart(AttCCB_t *pAttCcb);
void attcDscDiscRestart(AttCCB_t *pAttCcb);
void attcCccdDiscRestart(AttCCB_t *pAttCcb);
void attcSetCccdRetry(AttCCB_t *pAttCcb);

int ATTC_ErrRspHandler(AttCCB_t *pAttCcb, uint8_t *pPacket, uint32_t len);
int ATTC_FindInfoRspHandler(AttCCB_t *pAttCcb, uint8_t *pPacket, uint32_t len);
int ATTC_ReadByGroupTypeRspHandler(AttCCB_t *pAttCcb, uint8_t *pPacket, uint32_t len);
int ATTC_ReadByTypeRspHandler(AttCCB_t *pAttCcb, uint8_t *pPacket, uint32_t len);

#endif /* _ATTC_DISC_H_ */
